﻿using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using SqlSugar;
using System;
using wnet.admin.wentcommon;


namespace Models
{
    /// <summary>
    /// 报警列表
    ///</summary>
    [SugarTable("yw_llarmlist")]
    public class yw_llarmlist
    {
        
     
        /// <summary>
        /// 备  注:id
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="id" ,IsPrimaryKey = true,IsIdentity = true) ]
        public int id  { get; set;  }

        /// <summary>
        /// 备  注:报警日期
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName="alarmdate" ) ]
        public DateTime alarmdate  { get; set;  } 
     
        /// <summary>
        /// 备  注:损伤等级
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="damagelevel" ) ]
        public string damagelevel  { get; set;  } 
     
        /// <summary>
        /// 备  注:锈蚀程度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="corrosiondegree" ) ]
        public string corrosiondegree  { get; set;  } 
     
        /// <summary>
        /// 备  注:报警位置
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="alarmlocation" ) ]
        public string alarmlocation  { get; set;  } 
     
        /// <summary>
        /// 备  注:详细信息
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="detailinfo" ) ]
        public string detailinfo  { get; set;  }

        /// <summary>
        /// 面积
        /// </summary>
        [SugarColumn(ColumnName = "Area")]
        public double Area {  get; set; }
        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeHDConvert))]
        [SugarColumn(ColumnName = "createtime")]
        public DateTime createtime { get; set; }

        /// <summary>
        /// 备  注:修改时间
        /// 默认值:
        ///</summary>
        [JsonConverter(typeof(LongDateTimeConvert))]
        [SugarColumn(ColumnName = "updatetime")]
        public DateTime updatetime { get; set; }


    }
    
}